<!-- 最新指标 -->
<template>
  <div class="table w1021 quota">
    <div class="tableTh tableTr flex">
      <span class="tableTd w350">
        <span class="w220 zb">每股指标</span>
        <span class="w220 zb">最新数据</span>
      </span>
      <span class="tableTd w350">
        <span class="w220 zb">成长能力指标</span>
        <span class="w220 zb">最新数据</span>
      </span>
      <span class="tableTd w350">
        <span class="w220 zb">盈利能力指标</span>
        <span class="w220 zb">最新数据</span>
      </span>
    </div>
    <div class="tableTr tableBody top flex">
      <span class="orange tableTd w350">
        <span class="zbMian w350">
          <span class="w220 zb bottom high">基本每股收益（元）</span>
          <span class="w220 zb bottom high">{{data.basicEps|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            扣除非经营性
            <br />损益每股收益（元）
          </span>
          <span class="w220 zb bottom high">{{data.epspDed|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">稀释每股收益（元）</span>
          <span class="w220 zb bottom high">{{data.epsfdDed|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">每股净资产（元）</span>
          <span class="w220 zb bottom high">{{data.netAssetPs|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">每股资本公积金（元）</span>
          <span class="w220 zb bottom high">{{data.psCr|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">每股未分配利润（元）</span>
          <span class="w220 zb bottom high">{{data.psUp|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            每股经营活动
            <br />产生的现金流（元）
          </span>
          <span class="w220 zb bottom high">{{data.psNetVal|filterVal('numberNo')}}</span>
        </span>
      </span>
      <span class="orange tableTd w350">
        <span class="zbMian w350">
          <span class="w220 zb bottom high">营业收入(万元)</span>
          <span class="w220 zb bottom high">{{data.incJ|filterVal('number')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            营业收入同比
            <br />增长率(%)
          </span>
          <span class="w220 zb bottom high">{{data.operatingRevenueGrowRate|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            扣除非经常性
            <br />损益后的净利润(万元)
          </span>
          <span class="w220 zb bottom high">{{data.incB|filterVal('number')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">毛利润(万元)</span>
          <span class="w220 zb bottom high">{{data.incC|filterVal('number')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            归属母公司
            <br />股东的净利润(万元)
          </span>
          <span class="w220 zb bottom high">{{data.netProfit|filterVal('number')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            归属母公司股东
            <br />的净利润同比增长率(%)
          </span>
          <span class="w220 zb bottom high">{{data.risMnp|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            扣除非经常性损益后
            <br />的净利润
            同比增长率(%)
          </span>
          <span class="w220 zb bottom high">{{data.risMnpc|filterVal('numberNo')}}</span>
        </span>
      </span>
      <span class="orange tableTd w350">
        <span class="zbMian w350">
          <span class="w220 zb bottom high">加权净资产收益率(%)</span>
          <span class="w220 zb bottom high">{{data.roer|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">净资产收益率(%)</span>
          <span class="w220 zb bottom high">{{data.roed|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">
            净资产收益率
            <br />同比增长率(%)
          </span>
          <span class="w220 zb bottom high">{{data.risRoe|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">总资产报酬率(%)</span>
          <span class="w220 zb bottom high">{{data.roa|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">总资产净利率(%)</span>
          <span class="w220 zb bottom high">{{data.roaNp|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">销售毛利率(%)</span>
          <span class="w220 zb bottom high">{{data.selRint|filterVal('numberNo')}}</span>
        </span>
        <span class="zbMian w350">
          <span class="w220 zb bottom high">销售净利率(%)</span>
          <span class="w220 zb bottom high">{{data.selNint|filterVal('numberNo')}}</span>
        </span>
      </span>
    </div>
  </div>
</template>

<script>
import { number, numberNo } from "../../script/api";
export default {
  data() {
    return {};
  },
  props: ["data"],
  filters: {
    filterVal(ops, num) {
      if (num == "numberNo") {
        return numberNo(ops, num);
      }
      if (num == "number") {
        return number(ops, num, 10000);
      }
      return ops ? ops : "--";
    }
  },
  components: {},
  computed: {},
  mounted() {},
  methods: {}
};
</script>
<style lang='scss' scoped>
</style>